package com.ambow.service.impl;

import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;

import com.ambow.Entity.DeliverToStation;
import com.ambow.Entity.DeliverToTeacher;
import com.ambow.Entity.Stock;
import com.ambow.Entity.TextBook;
import com.ambow.dao.DeliverToStationDao;
import com.ambow.dao.impl.DeliverToStationDaoImpl;
import com.ambow.service.DeliverToStationService;
import com.ambow.utils.HibernateUtil;

public class DeliverToStationServiceImpl implements DeliverToStationService{
	DeliverToStationDao dao=new DeliverToStationDaoImpl();
	@Override
	public boolean addDeliverToStation(DeliverToStation deliverToStation) {
		// TODO Auto-generated method stub
		return this.dao.addDeliverToStation(deliverToStation);
	}
	@Override
	public Stock querybook(String hql, String[] param) {
		// TODO Auto-generated method stub
		return this.dao.querybook(hql, param);
	}
	@Override
	public List<DeliverToStation> queryDeliverStationbook(String hql, String[] param) {
		// TODO Auto-generated method stub
		return this.dao.queryDeliverStationbook(hql, param);
	}

	

}
